package org.example.service.impl;

import org.example.dao.Tb_deptDao;
import org.example.domain.Tb_dept;
import org.example.service.Tb_deptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Tb_deptServiceImpl implements Tb_deptService {
    @Autowired
    private Tb_deptDao tb_deptServiceDao;

    @Override
    public List<Tb_dept> findAll() {
        return tb_deptServiceDao.findAll();
    }
}
